#pragma once
#include "Position.h"
#include "Element.h"

class Collision
{
public:
	Collision(void);
	~Collision(void);
	float getDeltaX();
	float getDeltaY();
	void setDeltaX(float deltaX);
	void setDeltaY(float deltaY);
	void setElement(Element * element);
	Element * getElement(void);
	float getCollisionTime();
	void setCollisionTime(float time);
	float getDistance();
	void setDistance(float distance);
	Position * getPoint();
	void setPoint(Position * position);


private:
	Position * position;
	float deltaX;
	float deltaY;
	Element * element;
	float time;
	float distance;
};
